<?php
include("../common/conn.php");
// 需传参数
$ordersid = $_REQUEST[ordersid];
// 需传参数 end
$query = mysql_query("UPDATE goodsorders set state=3 where ordersid=".$ordersid." and state=2");
